<ui:composition template="/WEB-INF/template/template.xhtml"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:sgbd="http://java.sun.com/jsf/composite/components">

    <ui:define name="title">Login</ui:define>

    
    <ui:define name="navigator">
        <sgbd:navigator accueil="active" />
    </ui:define>
    

    <ui:define name="content">
        <div id="login-box">
            <H2>Login</H2>
            <form method="POST" 
                  action="#{request.contextPath}/j_security_check"              
                  id="loginForm">
                <br />
                <h:panelGrid columns="2"
                             id="loginPanel"> 

                    <h:outputLabel value="Login" />
                    <input name="j_username" 
                           type="text" 
                           class="form-login" 
                           title="Password" 
                           value="" 
                           size="30" 
                           maxlength="2048" />

                    <h:outputLabel value="Password" />
                    <input name="j_password" 
                           type="password" 
                           class="form-login" 
                           title="Password" 
                           value="" 
                           size="30" 
                           maxlength="2048" />
                    </h:panelGrid>
                <br />                
                <input type="submit" value="Se connecter" style="margin-left:200px;" /> 
                </form>            
        </div>
    </ui:define>
</ui:composition>